<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>layui</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="/lib/layui/css/layui.css" media="all">
    <link href="/lib/font-awesome-4.7.0/css/font-awesome.css" rel="stylesheet"/>
    <link href="/lib/winui/css/winui.css" rel="stylesheet"/>
    <!-- 注意：如果你直接复制所有代码到本地，上述css路径需要改成你本地的 -->
    <style type="text/css">
        .layui-elem-quote {
            margin-bottom: 10px;
            padding: 15px;
            line-height: 22px;
            border-left: none;
            border-radius: 0 2px 2px 0;
            background-color: #f2f2f2;
        }
    </style>
</head>
<body>


<div class="winui-toolbar">
    <div class="winui-tool">
        <button id="reloadTable" class="winui-toolbtn"><i class="fa fa-refresh" aria-hidden="true"></i>刷新数据</button>
        <button id="add" class="winui-toolbtn"><i class="fa fa-plus" aria-hidden="true"></i>新增</button>
    </div>
</div>

<blockquote class="layui-elem-quote">
    <div class="demoTable">
        评论ID：
        <div class="layui-inline">
            <input class="layui-input" name="commentId" id="commentId" autocomplete="off">
        </div>
        发布评论者ID：
        <div class="layui-inline">
            <input class="layui-input" name="userId" id="userId" autocomplete="off">
        </div>
        父评论ID：
        <div class="layui-inline">
            <input class="layui-input" name="commentParentId" id="commentParentId" autocomplete="off">
        </div>
        评论状态：
        <div class="layui-inline">
            <input class="layui-input" name="commentState" id="commentState" autocomplete="off">
        </div>
        新闻ID：
        <div class="layui-inline">
            <input class="layui-input" name="newsId" id="newsId" autocomplete="off">
        </div>
        <button class="layui-btn" data-type="reload">搜索</button>
    </div>
</blockquote>


<table class="layui-hide" id="test" lay-filter="demo"></table>

<script type="text/html" id="barDemo">
    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="detail">查看</a>
    <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
</script>
<script src="/lib/layui/layui.js" charset="utf-8"></script>
<!-- 注意：如果你直接复制所有代码到本地，上述js路径需要改成你本地的 -->


<script src="/js/newsComment/list.js"></script>
</body>
</html>